package com.scm.biz.dao;

import java.util.List;

import com.scm.biz.bean.SysUserRole;

public interface SysUserRoleDao {
    int deleteByPrimaryKey(Long id);

    int insert(SysUserRole record);

    int insertSelective(SysUserRole record);

    SysUserRole selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysUserRole record);

    int updateByPrimaryKey(SysUserRole record);
    
    int deleteByUserId(int userId);
    
    List<SysUserRole> selectListByUserId(int id);
}